<ul id="posts" title="{{ board_name }} [{{page_num}}]" selected="true">
    <li>
        {% if pre_page_num %}
        <a href="/n/b/{{ board_name }}/?pn={{ pre_page_num }}">< 前一页</a>
        {% endif %}
        {% if next_page_num %}
        <a href="/n/b/{{ board_name }}/?pn={{ next_page_num }}" style="text-align: right;">后一页</a>
        {% endif %}
    </li>
    
    {% for post in posts %}
    <li>
        <a href="/n/post/?bid={{ post.board_id }}&pid={{ post.post_id }}">{{ post.title }}({{ post.word_count }})<span class="tag">{{ post.tag }}</span></a>
        <a href="/n/tposts/?bn={{ board_name }}&tid={{ post.thread_id }}"><div> <span class="time">{{ post.post_time|date:"M j" }}</span>, <span class="author">{{ post.author }}</span> <span class="samethread">&lt;同主题&gt;</span></div></a>
    </li>
    {% endfor %}
    
    <li>
        {% if pre_page_num %}
        <a href="/n/b/{{ board_name }}/?pn={{ pre_page_num }}">< 前一页</a>
        {% endif %}
        {% if next_page_num %}
        <a href="/n/b/{{ board_name }}/?pn={{ next_page_num }}" style="text-align: right;">后一页</a>
        {% endif %}
    </li>
</ul>